* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background: #ffd34a;
    color: hsl(0, 59%, 56%);
    margin: 0;
    height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    font-family: Monoton, sans-serif;
  }
  
  .flex-center, #container .buttons, #container .svg, #container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  #container {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: space-around;
  }
  #container .svg {
    width: 70%;
    margin: 0 auto;
    overflow: hidden;
  }
  #container .svg img {
    width: 400px;
    
  }
  #container .buttons {
    justify-content: space-between;
    width: 300px;
  }
  #container .buttons p {
    background: #cfd0d0;
    box-shadow: 5px 5px 13px #b6b7b7, -5px -5px 13px #e8e9e9;
    padding: 10px 20px;
    cursor: pointer;
    user-select: none;
    border-radius: 5px;
    font-weight: 900;
  }
  #container .buttons p:active {
    box-shadow: inset 5px 5px 13px #b6b7b7, inset -5px -5px 13px #e8e9e9;
  }

  .window {
    width: 35vmin;
    height: 85vmin;
    outline: 1px solid rgb(255, 136, 0);
    background: radial-gradient( #f39227 8%, #ffbd36 3%);
    background-size: 5vmin 5vmin;
    animation: move 150s alternate infinite linear;
    transition: width 1s, height 1s;
  }
  
  .window:hover {
    width: 100vw;
    height: 100vh;
    animation-play-state: paused;
  }
  
  .content {
    opacity: 0;
    display: grid;
    height: 100%;
    place-items: center;
    transition: opacity 1s 1s;
  }
  
  .window:hover .content {
    opacity: 1;
  }
  
  @keyframes move {
    from {
      background-position: 50% 50%; 
    }
    to {
      background-position: 50% 1000%;
    }
  }
  
  .one,
  .two,
  .third,
  .stop {
    animation: rotate linear infinite;
    animation-play-state: running;
  }
  
  @keyframes rotate {
    100% {
      transform: rotate(360deg);
    }
  }
  @media only screen and (max-width: 400px) {
    .container .svg img {
      min-width: 320px;
    }
  }
